F-Spot photo viewer – another tool with option to view the exif data.

2010-09-22 1 min read Photo

Here is another tool worth looking at for <a class="zem_slink" title="Image viewer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image_viewer">Image Viewer. Its called F-spot and the description for the same is as below :

F-Spot is an application designed to provide personal photo management to the GNOME desktop. Features include import, export, printing and advanced sorting and tagging of digital images.

Continue reading

bash – echo command with option to display the output on the same line.

2010-09-21 2 min read Bash Fedora Learning Linux

Here is a nice little trick to display the output in the same line :

  <td>
    <div class="bash codecolorer">
      &nbsp;<span class="kw3">echo</span> <span class="re5">-ne</span> <span class="st0">"output\<span class="es1">\r</span>"</span>
    </div>
  </td>
</tr>
1

The trick here is simple, first we disable the <a class="zem_slink" title="Newline" rel="wikipedia" href="http://en.wikipedia.org/wiki/Newline">newline printed by <a class="zem_slink" title="Echo (command)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Echo_%28command%29">echo command with the &#8221;-n&#8221; option and then we enable the interpretation of the <a class="zem_slink" title="Backslash" rel="wikipedia" href="http://en.wikipedia.org/wiki/Backslash">backslash characters with the &#8221;-e&#8221; option. As the &#8221;\r&#8221; is used as <a class="zem_slink" title="Carriage return" rel="wikipedia" href="http://en.wikipedia.org/wiki/Carriage_return">carriage return which brings you to the start of the line without the newline (like in <a class="zem_slink" title="Typewriter" rel="wikipedia" href="http://en.wikipedia.org/wiki/Typewriter">typewriter), we will use the same to get the desired effect. So, if you wanted a stopwatch for a 100 seconds on the console then this simple bash <a class="zem_slink" title="For loop" rel="wikipedia" href="http://en.wikipedia.org/wiki/For_loop">for loop would do the same:

Continue reading

Photos you can take at home and still stunning.

2010-09-19 3 min read Photo

Here are results of some more experiments that I did.

Setup:

  1. 100 Watt <a class="zem_slink" title="Incandescent light bulb" rel="wikipedia" href="http://en.wikipedia.org/wiki/Incandescent_light_bulb">Light Bulb

  2. One Bowl/Plate/Cup (whatever you wish)

  3. <a class="zem_slink" title="Camera" rel="wikipedia" href="http://en.wikipedia.org/wiki/Camera">Camera (<a class="zem_slink" title="Nikon D5000" rel="wikipedia" href="http://en.wikipedia.org/wiki/Nikon_D5000">Nikon D5000)

  4. Some balls (These balls come in very small size and you need to keep them in water. Once kept in water for 10-15 days they become 20-30 times of their original size. Sorry, I don&#8217;t know the name as they were gifted to me. In <a class="zem_slink" title="India" rel="geolocation" href="http://maps.google.com/maps?ll=28.6133333333,77.2083333333&spn=10.0,10.0&q=28.6133333333,77.2083333333%20%28India%29&t=h">India it is quite easy to find, not sure about other countries).

    Continue reading

Some home made tricks to take Quality Photos.

2010-09-17 4 min read Photo

For the last 2 days I was trying the new settings of my camera and experimenting to take some new cool pictures. As I never had any formal training on Photography so this was my first real attempt to create photo&#8217;s at my home with whatever was available. So, I started with the following:

  1. 100 Watt Bulb

  2. One Glass

  3. My Camera Nikon D5000

So, here are the results of the experiment:

Continue reading

Another interesting viewer for images on Linux – Geeqie.

2010-09-16 2 min read Photo

Here is the description:

Geeqie has been forked from the <a class="zem_slink" title="GQview" rel="homepage" href="http://gqview.sourceforge.net">GQview project with the goal of picking up development and integrating patches. It is an <a class="zem_slink" title="Image viewer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image_viewer">image viewer for browsing through graphics files. Its many features include <a class="zem_slink" title="Point-and-click" rel="wikipedia" href="http://en.wikipedia.org/wiki/Point-and-click">single click file
viewing, support for external editors, previewing images using <a class="zem_slink" title="Thumbnail" rel="wikipedia" href="http://en.wikipedia.org/wiki/Thumbnail">thumbnails, and zoom.

First off, this is one image viewer with a lot more features than <a class="zem_slink" title="Eye of GNOME" rel="homepage" href="http://www.gnome.org/projects/eog/">EOG or any such light weight image viewer. So, my experience was that it was a little slower in loading images (bigger than 5MB) and opening folders with more than 150 images. Here is a brief of the image viewer with screenshots.

Continue reading

cURL – Tutorial

2010-09-15 1 min read Bash Fedora Linux

Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful.
http://curl.haxx.se/docs/httpscripting.html

http://www.youtube.com/watch?v=XcgQUsorF_8

http://scriptasy.com/php_11/tutorial-curl-login_44.html

Enhanced by Zemanta

Handy one-liners for SED

2010-09-14 0 min read Bash Linux
\"A
Image via Wikipedia

Here are some links to sed one liners, pretty useful if you want to use the power of sed.

<a href="http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546">http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546

<a href="http://www.unixguide.net/unix/sedoneliner.shtml">http://www.unixguide.net/unix/sedoneliner.shtml
<a href="http://sed.sourceforge.net/sed1line.txt">http://sed.sourceforge.net/sed1line.txt <a href="http://www.thegeekstuff.com/2010/06/bash-array-tutorial/">

<a href="http://www.thegeekstuff.com/2010/06/bash-array-tutorial/">http://www.thegeekstuff.com/2010/06/bash-array-tutorial/<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.ibm.com/developerworks/linux/library/l-sed1.html">imabonehead: Common threads: Sed by example, Part 1 (ibm.com) <li class="zemanta-article-ul-li"><a href="http://www.thegeekstuff.com/2009/11/unix-sed-tutorial-append-insert-replace-and-count-file-lines/">imabonehead: Unix Sed Tutorial: Append, Insert, Replace, and Count File Lines (thegeekstuff.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/zemified_e.png?x-id=be4d9a3b-c27c-46eb-8b76-2a1aa1900a4e" alt="Enhanced by Zemanta" /><span class="zem-script more-related pretty-attribution">

Continue reading
Older posts Newer posts